﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopWlbOrderScheduleRule")]
    public class TopWlbOrderScheduleRule : BaseObject
    {
        //begin
        public TopWlbOrderScheduleRule()
        {}
        public TopWlbOrderScheduleRule(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Id;
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _UserNick;
        public string UserNick
        {
            get
            {
                return _UserNick;
            }
            set
            {
                SetPropertyValue("UserNick", ref _UserNick, value);
            }
        }
        private string _RuleId;
        public string RuleId
        {
            get
            {
                return _RuleId;
            }
            set
            {
                SetPropertyValue("RuleId", ref _RuleId, value);
            }
        }
        private string _AreaIds;
        public string AreaIds
        {
            get
            {
                return _AreaIds;
            }
            set
            {
                SetPropertyValue("AreaIds", ref _AreaIds, value);
            }
        }
        private string _DefaultStoreId;
        public string DefaultStoreId
        {
            get
            {
                return _DefaultStoreId;
            }
            set
            {
                SetPropertyValue("DefaultStoreId", ref _DefaultStoreId, value);
            }
        }
        private string _BackupStoreId;
        public string BackupStoreId
        {
            get
            {
                return _BackupStoreId;
            }
            set
            {
                SetPropertyValue("BackupStoreId", ref _BackupStoreId, value);
            }
        }
        private string _PresellStoreId;
        public string PresellStoreId
        {
            get
            {
                return _PresellStoreId;
            }
            set
            {
                SetPropertyValue("PresellStoreId", ref _PresellStoreId, value);
            }
        }
        private string _Options;
        public string Options
        {
            get
            {
                return _Options;
            }
            set
            {
                SetPropertyValue("Options", ref _Options, value);
            }
        }
        //end
    }
}
